<extend name="index::index" />
<block name="title"><title>user</title></block>
<block name="nav">
	<ul class="list-unstyled list">
		<empty name="login">
			<li>
			<a href="{:U('Index/login')}" class="anchorLink"><i class="icon-road scolor"></i>登录</a>
			</li>
			<li>
			<a href="{:U('Index/reg')}" class="anchorLink"><i class="icon-road scolor"></i>注册</a>
			</li>
			<else />
			<li>
			<a href="{:U('User/index',['id'=>$login['id']])}" style="text-transform:none;"><i class="icon-road scolor"></i><span style="color:#fff;">欢迎{$login['name']}</span></a>
			</li>
			<li>
			<a href="{:U('Index/loginout')}" class="anchorLink"><i class="icon-road scolor"></i>退出</a>
			</li>
		</empty>
		<li><a href="{:U('Index/index')}" class="anchorLink"><i class="icon-home scolor"></i>主页</a></li>
		<li><a href="{:U('Order/order_info')}" class="anchorLink"><i class="icon-user scolor"></i>订单详情</a></li>
		<li><a href="{:U('User/reset')}" class="anchorLink"><i class="icon-retweet scolor"></i>修改密码</a></li>
	</ul>
</block>
<block name="addver">
</block>
<block name="team">
</block>
<block name="main">
	<div class="team"><h3>个人信息</h3></div>
	<div class="bor hidden-xs"></div>
	<div style="min-height:560px; ">
		<table class="table" border="1" cellspacing="0" cellpadding="5" align="center" >
        <tr >
          <td bgcolor="#ccc">用户名 {$list['uname']}</td>
        </tr>     
        <tr>
          <td >头像
          	<if condition="$list['uff'] == 'no.jpg'">
          	<img src="__ROOT__/Public/Image/no.jpg" width="80px" height="80px" alt="">
          	<else />
          	<img src="__ROOT__{$list['uff']}" alt=""/>
          	</if>
          </td>
        </tr>
        <tr>
          <td bgcolor="#ccc">性别 {$list['ux']}</td>
        </tr>
        <tr>
          <td >年龄 {$list['ufg']}</td>
        </tr>
        <tr>
          <td bgcolor="#ccc">电话 {$list['uft']}</td>
        </tr>
        <tr>
          <td>生日 {$list['ufb']}</td>
        </tr>
        <tr>
          <td bgcolor="#ccc">邮箱 {$list['ufe']}</td>
        </tr>
        <tr>
          <td>qq {$list['ufq']}</td>
        </tr>
    </table>
	<a href="{:U('User/revise')}" style="width:200px;height:40px;border:none;background:#DB453E;float:left;text-align:center;line-height:40px;color:#fff;display:block;text-decoration:none;">修改个人信息</a>
	</div>
</block>
